<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<title>院校推荐</title>
	</head>

	<body>
		<div id='box'>
			<base-header></base-header>
			<div class="container banxin clearfix" v-cloak>
				<base-topnav :topnav=topnav></base-topnav>
				<div>
					<base-leftnav :leftnav=leftnav @catalog=catalog></base-leftnav>
					<div class="tab-right">
						<!-- 按分推荐大学 -->
						<div id="recommond">
							<recommond-school :otype="'a'" :schools='schools' :show=show :type=school_type :no_data=no_data_score @select=select></recommond-school>
						</div>
						<!-- 智能填志愿 -->
						<div id="ai" class="hide">
							<recommond-smart :areas=areas :checkbox=checkbox :garbage_can=garbage_can :disabled=disabled @select=select></recommond-smart>
						</div>
						<!-- 模拟填志愿 -->
						<div id="simulation" class="hide">nodata</div>
						<!-- 录取率测试 -->
						<recommond-test :search_school=search_school></recommond-test>
						<!-- 成绩分析报告 -->
						<recommond-report>
						</recommond-report>
						<!-- 看就业选学校 -->
						<div id="employment-school" class="hide">
							<recommond-school :otype="'b'" :schools='job_schools' :show=!show :no_data=no_data_job @select=select></recommond-school>
						</div>
						<!-- 看就业选专业 -->
						<recommond-seemajor @select=select @page=page @major_details=major_details></recommond-seemajor>
						<!-- 看职业选专业 -->
						<recommond-seejob :no_data_occupation=no_data_occupation :trades=trades :tabs=tabs :occupation=occupation @page=page @major_details=major_details @scale=scale @select=select></recommond-seejob>
					</div>
				</div>
				<base-tips></base-tips>
			</div>
			<base-footer></base-footer>
		</div>

		<script src="../node_modules/jcy/jcy.js"></script>
		<script type="text/javascript">
			jcy.setJs('../../js', {
				vue: 'vue.min',
				jquery: 'jquery-1.11.1.min',
				img: 'img'
			}).setJs('../../js', {
				base: 'base',
				recommond: 'recommond'
			}, '_back').setcss('../../css', {
				base: 'base.min',
				recommond: 'recommond',
				style: 'style.min'
			}).setHtml('../../view/recommondtpl', { //私有模板
				'recommond-school': 'recommond-school',
				'recommond-seejob': 'recommond-seejob',
				'recommond-seemajor': 'recommond-seemajor',
				'recommond-test': 'recommond-test',
				'recommond-smart': 'recommond-smart',
				'recommond-report': 'recommond-report'
			}).setHtml('../../view/basetpl', { //公共模板
				'base-tips': 'base-tips',
				'base-leftnav': 'base-leftnav',
				'base-topnav': 'base-topnav',
				'base-header':'base-header',
				'base-footer':'base-footer',
				'base-areas':'base-areas',
				'base-categorys':'base-categorys',
				'base-condition':'base-condition',
				'base-schoollist':'base-schoollist'
			})
			jcy.use({
				js: ['jquery', 'vue,img,base'],
				css: ['base', 'recommond', 'style'],
				html: ['recommond-school','base-schoollist','base-condition','base-categorys','base-header','base-areas','base-footer','base-tips', 'base-topnav', 'base-leftnav', 'recommond-report', 'recommond-seejob', 'recommond-smart', 'recommond-seemajor', 'recommond-test']
			}, function(tpl) {
				//定义组件及打包处理
				window.components = {};
				Vue.component('no-data', {
					props: ['no_data'],
					template: "<div class='no-data' v-show=no_data>暂无更多数据</div>"
				});
				
				jcy.webpack(['recommond-school','base-schoollist','base-condition','base-categorys','base-header','base-areas','base-footer', 'base-tips', 'base-topnav', 'base-leftnav', 'recommond-report', 'recommond-seejob', 'recommond-smart', 'recommond-seemajor', 'recommond-test'])
				//使用入口执行文件
				jcy.useJs('recommond')
			})
		</script>
	</body>

</html>